;(function(window) {

var svgSprite = '<svg>' +
  ''+
    '<symbol id="icon-shouji" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M743.652476 962.564789 280.406876 962.564789c-34.476209 0-62.47796-28.120454-62.47796-62.657039L217.928916 124.152625c0-34.596959 28.000728-62.717414 62.47796-62.717414l463.245599 0c34.416857 0 62.417585 28.120454 62.417585 62.717414l0 775.754103C806.07006 934.443311 778.069333 962.564789 743.652476 962.564789zM280.406876 92.134397c-17.507746 0-31.778774 14.360056-31.778774 32.018228l0 775.754103c0 17.628496 14.270005 31.957853 31.778774 31.957853l463.245599 0c17.507746 0 31.718399-14.33038 31.718399-31.957853L775.370875 124.152625c0-17.658172-14.210653-32.018228-31.718399-32.018228L280.406876 92.134397z"  ></path>'+
      ''+
      '<path d="M512.029164 895.41032c-22.544459 0-40.831964-18.377556-40.831964-40.952714s18.287505-40.952714 40.831964-40.952714 40.831964 18.377556 40.831964 40.952714S534.573623 895.41032 512.029164 895.41032zM512.029164 844.205101c-5.575995 0-10.132778 4.586458-10.132778 10.253528 0 11.332093 20.266579 11.332093 20.266579 0C522.162966 848.791559 517.60516 844.205101 512.029164 844.205101z"  ></path>'+
      ''+
      '<path d="M731.899804 783.885294 289.400714 783.885294c-8.454556 0-15.349593-6.865361-15.349593-15.349593L274.051121 147.476843c0-8.484232 6.895037-15.349593 15.349593-15.349593l442.500113 0c8.454556 0 15.349593 6.865361 15.349593 15.349593l0 621.058858C747.249397 777.019932 740.35436 783.885294 731.899804 783.885294zM304.750307 753.186108l411.800927 0L716.551234 162.826436 304.750307 162.826436 304.750307 753.186108z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-bianhaochaxun" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M299.881416 521.429767 299.881416 569.621349 485.307569 569.621349 485.307569 521.429767 422.763095 521.429767 422.763095 279.888572 298.050722 305.465087 298.050722 355.307262 362.803491 340.589049 362.803491 521.429767Z"  ></path>'+
      ''+
      '<path d="M100.647793 715.299219 100.647793 134.211724l582.062705 0L682.710498 471.123011c11.821233-1.985214 23.959691-3.035126 36.34579-3.035126L719.056288 97.865935 64.303027 97.865935l0 653.779074L511.329223 751.645009c-3.704368-11.717879-6.439666-23.863501-8.123005-36.34579L100.647793 715.299219z"  ></path>'+
      ''+
      '<path d="M948.542936 860.978113l-74.847685-75.054393c-1.272993-1.25969-2.688225-2.234901-4.013407-3.300162 18.497283-28.381397 29.30442-62.220087 29.30442-98.68151 0-100.111069-81.132832-181.257204-181.269483-181.257204-100.085486 0-181.270507 81.146135-181.270507 181.257204 0 100.148931 81.185021 181.269483 181.270507 181.269483 36.423561 0 70.299089-10.833743 98.733699-29.330002 1.050935 1.376347 2.000564 2.752694 3.246951 3.987824l74.858942 75.064626c7.468089 7.470135 17.22429 11.197016 26.991748 11.197016 9.755178 0 19.510356-3.727904 26.979468-11.17041C963.415668 900.04999 963.415668 875.890754 948.542936 860.978113zM717.717803 807.993364c-68.365041 0-124.024711-55.660694-124.024711-124.050294 0-68.351738 55.660694-124.051317 124.024711-124.051317s124.024711 55.69958 124.024711 124.051317C841.742515 752.33267 786.082844 807.993364 717.717803 807.993364z"  ></path>'+
      ''+
      '<path d="M792.460088 615.072517c-55.999408 25.874297-91.485621 103.487979-91.485621 103.487979l-21.874193-38.176484-45.061288 24.614607c19.133779 6.183839 46.451962 25.889647 69.663616 51.763944 16.393365-27.108405 66.921155-82.548064 91.484597-87.471191C785.627473 649.573285 791.096021 633.556497 792.460088 615.072517z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-ren" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M510.548 105.582c-129.797 0-235.386 105.593-235.386 235.39 0 93.999 55.509 175.067 135.354 212.767-147.613 43.35-255.793 179.825-255.793 341.273 0 10.275 8.327 18.594 18.594 18.594 10.267 0 18.594-8.319 18.594-18.594 0-175.702 142.956-318.65 318.636-318.65 129.797 0 235.395-105.593 235.395-235.39s-105.598-235.39-235.395-235.39l0 0zM510.548 539.173c-109.294 0-198.197-88.917-198.197-198.202 0-109.29 88.903-198.202 198.197-198.202 109.298 0 198.206 88.912 198.206 198.202 0 109.29-88.903 198.202-198.206 198.202l0 0zM510.548 539.173zM726.386 612.08c-8.175-6.229-19.83-4.686-26.057 3.487-6.245 8.17-4.686 19.826 3.484 26.074 79.681 60.886 125.367 153.241 125.367 253.366 0 10.279 8.332 18.598 18.595 18.598 10.275 0 18.594-8.319 18.594-18.598 0-111.818-51.024-214.941-139.984-282.927l0 0zM726.386 612.08z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-saomiao" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M34.194417 385.869008c33.580224 0 33.580224-33.586266 33.580224-33.586266L67.774641 151.250462c0-37.341902 30.224316-67.638713 67.638713-67.638713l201.033288 0c0 0 33.586266 0 33.586266-33.580224 0-33.586266-33.586266-33.586266-33.586266-33.586266L135.345894 16.445258c-74.489478 0-134.737743 60.315726-134.737743 134.737743l0 201.099741C0.608151 352.282743 0.608151 385.869008 34.194417 385.869008L34.194417 385.869008zM34.194417 385.869008"  ></path>'+
      ''+
      '<path d="M133.327114 520.201988c0 22.057569 18.468066 39.957759 41.221384 39.957759l659.629746 0c22.753318 0 41.221384-17.90019 41.221384-39.957759 0-22.057569-18.468066-39.957759-41.221384-39.957759L174.549505 480.24423C151.79518 480.24423 133.327114 498.143413 133.327114 520.201988L133.327114 520.201988zM133.327114 520.201988"  ></path>'+
      ''+
      '<path d="M873.382862 16.445258 672.28312 16.445258c0 0-33.586266 0-33.586266 33.586266 0 33.580224 33.586266 33.580224 33.586266 33.580224l201.032281 0c37.414397 0 67.638713 30.295804 67.638713 67.638713l0 201.033288c0 0 0 33.586266 33.580224 33.586266 33.586266 0 33.586266-33.586266 33.586266-33.586266L1008.120605 151.183001C1008.120605 76.760984 947.871333 16.445258 873.382862 16.445258L873.382862 16.445258zM873.382862 16.445258"  ></path>'+
      ''+
      '<path d="M336.445636 956.791221 135.412348 956.791221c-37.414397 0-67.638713-30.295804-67.638713-67.638713l0-201.032281c0 0 0-33.586266-33.580224-33.586266-33.586266 0-33.586266 33.586266-33.586266 33.586266l0 201.099741c0 74.422017 60.248265 134.737743 134.737743 134.737743l201.099741 0c0 0 33.586266 0 33.586266-33.586266C370.031901 956.791221 336.445636 956.791221 336.445636 956.791221L336.445636 956.791221zM336.445636 956.791221"  ></path>'+
      ''+
      '<path d="M974.534339 654.533961c-33.580224 0-33.580224 33.586266-33.580224 33.586266l0 201.032281c0 37.341902-30.224316 67.638713-67.638713 67.638713l-201.032281 0c0 0-33.586266 0-33.586266 33.580224 0 33.586266 33.586266 33.586266 33.586266 33.586266l201.099741 0c74.488471 0 134.737743-60.315726 134.737743-134.737743L1008.120605 688.120227C1008.120605 688.120227 1008.120605 654.533961 974.534339 654.533961L974.534339 654.533961zM974.534339 654.533961"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-lock" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M702.22664 402.949258l-0.004093 7.1e-05-1.268929-72.696878c-1.97658-113.238187-89.675025-197.321032-204.35459-196.419514l-2.23456 0.039004c-116.560616 3.133771-206.019076 92.158297-204.074839 203.543559l1.301057 74.537526c-60.251136 9.972183-106.057038 63.338787-104.941269 127.261128l4.124215 236.276109c1.22437 70.144118 58.294505 126.247928 127.207773 125.045042l392.810949-6.856541c68.909176-1.202814 123.990625-59.265261 122.766273-129.408356l-4.124215-236.276109C828.205968 457.851277 771.134792 401.746462 702.22664 402.949258L702.22664 402.949258zM325.999622 336.792181c-1.594858-91.369372 73.037773-164.325693 170.115602-166.589238 94.862468-1.124654 167.509894 67.77277 169.13138 160.66766l1.269018 72.701994-339.246983 5.921578L325.999622 336.792181 325.999622 336.792181zM797.846606 764.894789c0.874884 50.122089-38.449641 91.574019-87.689774 92.433509l-392.810949 6.856541c-49.244226 0.859561-89.987283-39.19069-90.862257-89.317895l-4.124215-236.276109c-0.874884-50.122089 38.445548-91.573948 87.689774-92.433509l392.810949-6.856541c49.240133-0.85949 89.987354 39.194783 90.862239 89.316872L797.846606 764.894789 797.846606 764.894789zM507.724118 515.426948c-59.076701 1.031188-106.276116 50.787802-105.226444 110.923463 0.943196 54.035639 40.616517 98.001906 91.501079 105.687255-0.050584 0.620078-0.33277 1.164368-0.321626 1.802813l0.95175 54.525728c0.175341 10.04529 8.30188 18.033824 18.171188 17.861554 9.865216-0.172198 17.71517-8.439602 17.539829-18.484892l-0.95175-54.525728c-0.011144-0.638446-0.320357-1.173436-0.393556-1.79033 50.581257-9.456441 88.704195-54.780647 87.761-108.816286C615.706956 562.475869 566.799795 514.395778 507.724118 515.426948L507.724118 515.426948zM510.8966 697.178351c-39.370825 0.68722-71.987344-31.374498-72.686869-71.450273-0.699615-40.080892 30.778079-73.262402 70.149928-73.94964 39.369802-0.687202 71.988367 31.37448 72.686976 71.456412C581.745137 663.310644 550.266402 696.491149 510.8966 697.178351L510.8966 697.178351z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-huatong" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M512 676.348c75.639 0 136.957-61.317 136.957-136.957V210.696c0-75.639-61.317-136.957-136.957-136.957s-136.957 61.317-136.957 136.957v328.696c0 75.639 61.319 136.956 136.957 136.956z m191.739-219.131v82.174c0 105.893-85.846 191.739-191.739 191.739s-191.739-85.846-191.739-191.739v-82.174h-54.783v82.174c0 126.889 95.873 231.371 219.13 244.998v111.089H375.043v54.783h273.913v-54.783H539.391V784.389c123.256-13.627 219.13-118.11 219.13-244.998v-82.174h-54.782z" fill="#4D4D4D" ></path>'+
      ''+
    '</symbol>'+
  ''+
'</svg>'
var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
var shouldInjectCss = script.getAttribute("data-injectcss")

/**
 * document ready
 */
var ready = function(fn){
  if(document.addEventListener){
      document.addEventListener("DOMContentLoaded",function(){
          document.removeEventListener("DOMContentLoaded",arguments.callee,false)
          fn()
      },false)
  }else if(document.attachEvent){
     IEContentLoaded (window, fn)
  }

  function IEContentLoaded (w, fn) {
      var d = w.document, done = false,
      // only fire once
      init = function () {
          if (!done) {
              done = true
              fn()
          }
      }
      // polling for no errors
      ;(function () {
          try {
              // throws errors until after ondocumentready
              d.documentElement.doScroll('left')
          } catch (e) {
              setTimeout(arguments.callee, 50)
              return
          }
          // no errors, fire

          init()
      })()
      // trying to always fire before onload
      d.onreadystatechange = function() {
          if (d.readyState == 'complete') {
              d.onreadystatechange = null
              init()
          }
      }
  }
}

/**
 * Insert el before target
 *
 * @param {Element} el
 * @param {Element} target
 */

var before = function (el, target) {
  target.parentNode.insertBefore(el, target)
}

/**
 * Prepend el to target
 *
 * @param {Element} el
 * @param {Element} target
 */

var prepend = function (el, target) {
  if (target.firstChild) {
    before(el, target.firstChild)
  } else {
    target.appendChild(el)
  }
}

function appendSvg(){
  var div,svg

  div = document.createElement('div')
  div.innerHTML = svgSprite
  svg = div.getElementsByTagName('svg')[0]
  if (svg) {
    svg.setAttribute('aria-hidden', 'true')
    svg.style.position = 'absolute'
    svg.style.width = 0
    svg.style.height = 0
    svg.style.overflow = 'hidden'
    prepend(svg,document.body)
  }
}

if(shouldInjectCss && !window.__iconfont__svg__cssinject__){
  window.__iconfont__svg__cssinject__ = true
  try{
    document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
  }catch(e){
    console && console.log(e)
  }
}

ready(appendSvg)


})(window)
